*{
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.w{
    width: 990px;
    margin: 0 auto;
}
.head{
    background-color: #e3e4e5;
    height: 32px;
    border-bottom: 1px solid #dddddd;
    box-sizing: border-box;

    .w{
        display: flex;

        .head-content{
            width: 385px;
            height: 32px;
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            line-height: 32px;
            color: #999999;

            .head-left{
                width: 168px;
                >img{
                    vertical-align: middle;
                    margin-right: 4px;
                }
                span{
                    display: inline-block;
                    width: 60px;
                }
            }

            .head-right{
                width: 155px;

                img{
                    vertical-align: middle;
                    margin-left: 7px;
                }
               
            }
        }

        ul{
            display: flex;
            width: 670px;
            height: 32px;
            padding: 10px 0px;
            padding-left: 10px;
            box-sizing: border-box;
            li{
                display: flex;

                a{
                    display: block;
                    font-size: 12px;
                    color: #999999;
                    line-height: 12px;
                    padding-left: 9px;
                    padding-right: 9px;
                    box-sizing: border-box;
                    border-left: 1px solid #cccccc;

                    img{
                        vertical-align: middle;
                       
                        width: 11px;
                        height: 5px;
                       
                    }
                }
                
            }

           
        }
    }
}
.search{
    height: 106px;
    background-color: #ffffff;
    .w{
        
        .logo{
            height: 106px;
            display: flex;
            justify-content: space-between;

            >img{
                margin-top: 26px;
                width: 135px;
                height: 44px;
            }

            .input{
                border: 2px solid #c91623;
                width: 326px;
                height: 28px;
                margin-top: 40px;
                display: flex;
                box-sizing: border-box;

                input:nth-child(1){
                    width: 270px;
                    height: 24px;
                    border: none;
                    outline: none;
                }
                input:nth-child(2){
                    width: 54px;
                    height: 24px;
                    background-color: #c91623;
                    color: white;
                    font-size: 12px;
                    text-align: center;
                    line-height: 24px;
                    border: none;
                }

            }
    
        }

      
    }
}

.main{

    .w{

        .peisong{
            display: flex;
            justify-content: space-between;
            height: 43px;

            h3{
                font-size: 16px;
                line-height: 43px;
                color: #e2231a;
            }

            >div{
                width: 216px;
                height: 25px;
                display: flex;

                span{
                    font-size: 11px;
                    line-height: 25px;
                    color: #434343;
                    margin: 0 8px;
                }

                p{
                    width: 150px;
                    height: 25px;
                    border: 1px solid #cecbce;
                    font-size: 11px;
                    line-height: 25px;
                    color: #434343;
                    text-align: center;

                    img{
                        width: 13px;
                        height: 7px;
                        margin-left: 7px;
                        margin-top: 9px;
                    }
                }
            }

        }

        .main-top{
            height: 44px;
            background-color: #f3f3f3;
            border: 1px solid #e9e9e9;
            margin-bottom: 20px;

            ul{
                padding: 0px 12px;
                box-sizing: border-box;
                width: 100%;
                height: 44px;
                display: flex;

                li{
                    font-size: 11px;
                    line-height: 44px;
                    color: #434343;

                }
                li:nth-child(1) input{
                    margin-right: 7px;
                 
                }
                li:nth-child(2){
                    margin-left: 78px;
                    margin-right: 450px;
                }
                li:nth-child(4){
                    margin-left: 78px;
                    margin-right: 102px;
                }
                li:nth-child(5){
                    margin-right: 40px;
                }
            }
        }

        .main-uls{
            width: 100%;
            box-sizing: border-box;
            

            ul{
                width: 100%;
                height: 122px;
                border: 1px solid #f1f1f1;
                border-top: 3px solid #aaaaaa;
                padding: 0px 12px;
                padding-top: 17px;
                margin-bottom: 10px;
                box-sizing: border-box;
                display: flex;
                
                li:nth-child(1) input{
                    margin-right: 18px;
                    margin-top: 6px;
                }
                li:nth-child(2){
                    width: 288px;
                    height: 80px;
                    display: flex;
                    p{
                        font-size: 11px;
                        line-height: 20px;
                    }
                  

                    img{
                        margin-right: 10px;
                        vertical-align: middle;
                    }
                }
                li:nth-child(3){
                    margin-left: 277px;
                    margin-right: 40px;
                    font-size: 9px;
                    line-height: 17px;

                }
                li:nth-child(4){
                    display: flex;
                    button{
                        width: 17px;
                        height: 20px;
                        background-color: #f1f1f1;
                        border: 1px solid #cbcbcb;
                    }
                    input{
                        display: block;
                        width: 46px;
                        height: 18px;
                        text-align: center;
                        border: none;
                        border-top: 1px solid #cbcbcb;
                        border-bottom: 1px solid #cbcbcb;
                    }
                }
                li:nth-child(5){
                    width: 142px;
                    text-align: center;
                    font-size: 8px;
                    line-height: 20px;
                    font-weight: bolder;
                }
                li:nth-child(6){
                    font-size: 11px;
                    color: #666666;
                    line-height: 20px;
                }
            }
        }

        .main-footer{
            height: 52px;
            margin: 20px 0px;
            border: 1px solid #f0f0f0;
            box-sizing: border-box;

            .w{
                display: flex;
                justify-content: space-between;

                .footer-left{
                    width: 264px;
                    height: 52px;
                    margin-left: 12px;
                    display: flex;
                    justify-content: space-between;
                    line-height: 52px;
                    font-size: 11px;
                    color: #666666;
                   
                    li:hover{
                        color: skyblue;
                    }
                }

                .footer-right{
                    display: flex;
                    justify-content: space-between;
                    width: 340px;
                    line-height: 30px;
                    font-size: 11px;
                    color: #999999;

                    li span{
                        font-weight: bold;
                        color: #c91623;
                    }

                    li:nth-child(2) span{
                        font-size: 13px;
                    }

                    li:last-child{
                        width: 95px;
                        height: 52px;
                        background-color: #c91623;
                        color: #ffffff;
                        font-weight: bolder;
                        font-size: 16px;
                        line-height: 52px;
                        text-align: center;
                    }
                }
            }
        }

        .main-like{
            position: relative;

            .w{
                height: 308px;
                border: 1px dashed #cacaca;
                display: flex;
                box-sizing: border-box;
                overflow: hidden;
                

                .left{
                    width: 35px;
                    height: 70px;
                    background: url(../image/anniu.PNG) no-repeat;
                    position: absolute;
                    top: 120px;
                    left: 5px;
                    display: none;
                }
                .right{
                    width: 35px;
                    height: 70px;
                    background: url(../image/anniu2.PNG) no-repeat;
                    position: absolute;
                    top: 120px;
                    right: 5px;
                    display: none;
                }

                


                >ul{
                    display: flex;
                    height: 308px;
                    width: 100%;
                    flex-shrink: 0;
                    

                    li{
                        width: 25%;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        border-right: 1px dashed #cacaca;


                        >img{
                            width: 161px;
                            height: 161px;
                        }
                        h3{
                            width: 200px;
                            font-weight: 400;
                            font-size: 11px;
                            line-height: 17px;
                            margin-top: 10px;
                            color: #333333;
                        }

                        p{
                            color: #d91f20;
                            font-size: 10px;
                            line-height: 30px;
                            margin-bottom: 5px;
                        }
                        div{
                            width: 123px;
                            height: 28px;
                            border: 1px solid #999999;
                            font-size: 11px;
                            color: #666666;
                            line-height: 28px;

                            img{
                                width: 18px;
                                height: 16px;
                                margin-left: 20px;
                                margin-top: 6px;
                                margin-right: 5px;
                                vertical-align: top;
                            }
                        }

                    }

                }

            }
            .w:hover >div{
                display: block;
            }
            

        }

        
        
    }
}

.footer{
    height: 215px;
    width: 100%;
    background-color: #eaeaea;
    margin-top: 15px;

    .w{
        >img{
            margin-left: 55px;
            margin-top: 25px;
        }

        .footer-list{
            display: flex;
            justify-content: space-around;
            padding-top: 30px;
            box-sizing: border-box;
            font-size: 12px;
            color: #777777;
            line-height: 24px;

            li:hover{
                color: #333333;
            }
        }


    }
}